implemented registration and login(TODO: make it nice in future commits)
Cleaned up some odd db file