added "remember me" functionality