better use of schema, start handling for unregistered users