Changed to get userpanel from base functions