Implementing Login

Begun working on login logic.