add action handle skeleton
handle the authentication message
add more action handling, but not completed yet, just draft.