Core module: user session, profile, authentication