Moving login to package, and deleting db