adding auth to server