finished first feature for login