Simple auth library that holds a session value of logged user, as well handles a database login log.