add some tools for authentication
add some tools for authentication