refactor sign-in form and requests specs