refactoring tomcat_users to an attribute