Swapped UserDetails class to User