added permissions check
added parse phase for Preferred Language Parsing