remote auth stuff that requires entity framework