Add missing javadoc
Update auth check