add user entity getter and setter, add register controller instead of action