added avatar upload, created profile link at upper right