Added basic login logic

#2 
Why `==` over `===`?