editing Factory, editing main.html and fixing package.json to deploy ec2
adding style and blocking anonymous users in ec2Controller