start implementing login functionality