Login implemented

And functional.