(PHP) webapp to manage classes and allow users to enrol in those classes