Refactored signin for to use form_tag. Added spec utilities to decouple test from implemantations