Authorization was added (attributes for company controller methods and changes to Web.config file were added). Bug's with CompaniesRepository were fixed (wrong IDs were compared in LINQ query).