add login logout resource
add login logout resource