adds authenticate_user back in. the problem is with heroku database. makes flash become flash.now.