Added mime check for user profile picture