formatting inputs

I would like everything that is stored in the database to be lowercase.
That way when a search is performed, rows will not be missed because of
case sensitivity.