Revert "Commit database and added login"

This reverts commit bcf6575a274d6f5c4dad88e67edad65d478394ce.
Revert "Revert "Commit database and added login""

This reverts commit ef9d80d873014061b7b90605519ea1e026ddf8b7.