added cred
added beta example
modified /models/chat/index.php
more mods
fixing merge conflict