made psession a module