fixed users view and redirection