Adding message level functions and usr check for root