Fixed bugs:
1. Prevent duplicate addition of student to event
2. Trim surrounding whitespaces from input request

Also made database settings changes for hostinger.in