Implemented user login feature.