removed bug from remember-me function