fixing the conditions of logging in and signing up
fixing/ completing  the conditions of signing up and logging in