Implement login (can't move with unknown bug).
Implement login. (fix bugs). Close #1