Added code to get user details