Added database check to login

Also, made a temporary admin page for creating school models.