added factories, basic app controller and user controller specs