added devise validatable, fixed logic for viewing profile with no profile