basic login functionality implemented