Refactor signin to use form-tag instead of form for
Add utility functions to decouple Rspec tests from the implementation