Database login

As of v0.4.0, Login works fine with multiple users connected

There may be future problems regarding atmocity of the database but we don't need to worry about all of that as of now