Add redirection to previous page on login-model.php