setting up structure for User entity