changed mysql queries, added teacher queries

removed goto statement from index.php
changed table names to lower case