sign in is working on index page