sign up and login completed -> redirects to the index.php