added exceptions. doesn't work when deployed. It is very likely it's due to the database connection string.
changed git ignore