ADD: separated code handling different request methods
ADD: basic login functionality
Merge branch 'master' into production