added:
-log in
-log out
-seperated connection to a different file