added functionality to 'remember Me' check box