Stores info to database, retrieves school info from database via ajax