newuser view not working