Login activity

Added the ability for a user to login.