updated user detail profile view

need to fix end point