Fix login, regester with fragment_settings