Removed duplicate code from user.rb model to correctly reflect overiding user.rb in sufia  refs #3599