replaced instance attributes with helper methods, creted employee index page