add cucumber and refactor signin form