Add logic to Employees Controller

Added the necessary logic to the methods in the Employees Controller