Created several domain classes, login has strange bug