Removed attempt to redirect to account_url, as it doesn't exist, and was causing no end of problems.