Partial code for student profile viewer