add brief and fb auth logic