Added remember me feature, fixes #182