@Override
  protected void onResume() {
    picturePath = session.getAvatarpath();
    if (picturePath != "") {
      thumbnail = (BitmapFactory.decodeFile(picturePath));

      resize();
      avatarView.setImageBitmap(thumbnail);
    }
    super.onResume();
  }