WIP: implement login

#121 


Also you can remove this one.