fixed user details bug