cleaning up projects controller

Beatify our code :P