added fully working login and registration. Close #8
Merge pull request #18 from ahlen/master

added fully working login and registration. Close #8