basic login functionality started