login, register,global error handle...