fix student vs teacher profile view