Changed the way the field name and data is provided
Field name and data is recived now using the input method
Added strtolower to email field
Removed comment