added employee profiles logic to front end