moved signup query to dbadapter