Added initial support for login