1. refactor code.
2. added default data for role and user.