Implemented login functionality. can use 'test' 'test' as username / password combo as well.