added auth-common project and updated code