added user profile view functionality