clean code of users views