started work on login screen
added a login screen, but still works if not connected to database