style upload avatar button and user authentication when updating profile