Added authentication on sign in