Implemented login feature
Implemented first tests. Not passing yet.