Even more changes

Got rid of lobby and split up teacher and student lobbies.
Ajax'd everything
Brought back validation cause it didnt come back last time.
Redid queries and stuff on main.php