update brand books and some login logic