sessions and error 401