Added exercise to validate request using joi object

This is new pull request with clean commit message .. sorry for earlier pull request mess
consider word order as:

`a login endpoint`