added gateway settings table
added additional settings to gateway page
implemented signupcallback and welcome message
duplicate file
moved ldap into separate project
fixed webfinger
cleaned up database connection
added gateway lister
replaced ldap socket with rest resource