route add cookie login function,and add create topic function.