Souranil/optimizing stuff

* Optimizing stuff
* Upgraded devise
* Making stuff configurable
* Adding observers
* Adding custom fields for devise users