split user and session resources to separate files