dumped database and added helper to require login