Fix in erb. Add check if user not nil