edit the sign in functionality