almost to login functionality!