added some server side authentication stuff