Finished the basics of logging in and session mangagement (login, logout, etc.)