1. add the checking for cookie; 2. refresh actionbar profile image after profile update