changed user model to have a last_error field to pass errors that exceed what can be passed in the flash[:error] cookie space.