rendering user details in homepage