Implement basic login feature

Hometask pull request, realized on different branch, plase check