More database stuff & register admin