fixed issue with user not int he main view