Added auth methos to User model