Added initial implementation for user login.