Update user details on login and create user pages