Modify redirection in case of expired session and change submit button