refactoring for user account/detail

refactoring, separated in different views account and user details