Added form validation for add activity
Added validation for user registration
Added validation for settings