changes to UserSpec and added Varsha's code(SentenceDetector)