added cookie after signin