renameing a sql function and moving the updateSession in account_dao to validate in session_dao
renameing a sql function and moving the updateSession in account_dao to validate in session_dao