New select procedure and Authenticate class

In the domain logic