Login and Authentication Round 2

In this pull request everything is complete except for the database function calls and the call to Zac's sshkeygen function, due to problems with said functions. My files are currently in "offline mode" where they will pull user data from the configuration file to populate the session with, this can be changed within the config file.