added role functionality with rails controller, serializer and angular factory. started working on admin view.