replaces settype by parenthesis typecasting: schedule/main.php
refactors agent form rank select & remembers active checkbox
remembers schedule in agent form when validation fails
splits Add user and Submit user in agent main processing