refactoring employees homepag