When creating a session object it now checks the expire date in the db
Input params are now converted to dict
Output functions
Output functions