updated server access layer