added remember me persistent cookie functionality