add auth()
clean up auth()
clean up select
add ttl