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.