use server time when insert ticket
fix a null-pointer bug when using gcm helper to notify all student in
login process