added persistent_logins table and support