add remember login support