Fixed sign in view and wrote some Rspec test