Refactoring Code

Different folders according to the user privileges