Added two way authentication for sign in