Adding a login attr accessor to user model