Login functionality

Setup login functionality