adds some login function
Merge pull request #6 from markableidinger/views

adds some login function