fixed problem with viewing profiles of users