add user profile, fix avatar, and user model