password and email have to be filled before login