basic version of profile view working