added form entry for username and getter method in user entity