Add persistence to auth system