added login functionality
Merge pull request #2 from sicbe/loginfunctions

added login functionality