adding the spec testing for sign in