Added basic login functionality