user login partially implemented