creating client-side code for user profile page
creating server-side code for user profile page