Implement basic login feature

Hometask pull request, realized on different branch, please check