add: getUserByLogin

Created new model for User and Role and added method to get user by login.

TODO: create model for Rights and write unit tests.
Merge pull request #23 from rsporny/master

add: getUserByLogin