handling default permissions
handling default preferences