Refactor signin's form