added core commands for the authentication extension
added phpdoc