addition of login functionality (mock)