added login and homepage stuff
added to DatabaseAccess
merged