check if texts are filled when login and register