User auth and creation fix

@matthewhuff89 @kaylorburdell @wcstorey @beatrixbetsycarroll - This is a big change, so I wanted to get some eyes on this. Mostly improving user login and new registration as well as adding some error handling.
Thanks for the feedback/advice!

- Dmitriy

On Mon, Dec 22, 2014 at 6:36 PM, Steven G. Harms <notifications@github.com>
wrote:

> In app/controllers/pages_controller.rb
> <https://github.com/raccoons-2014/Smackwangler/pull/30#discussion-diff-22197253>
> :
>
> > @@ -0,0 +1,5 @@
> > +class PagesController < ApplicationController
> > +  def home
> > +    #..
>
> Definitely don't like the empty comment. For static routes this seems
> promising.
> http://stackoverflow.com/questions/5631145/routing-to-static-html-page-in-public
> … <#14a745bec7b8406b_>
> On Mon, Dec 22, 2014 at 5:44 PM, Dmitriy Istomin <notifications@github.com>
> wrote: In app/controllers/pages_controller.rb <
> https://github.com/raccoons-2014/Smackwangler/pull/30#discussion-diff-22195243>
> : > @@ -0,0 +1,5 @@ > +class PagesController < ApplicationController > +
> def home > + #.. Steven, is there a better way to do static resources in
> Rails? We wanted to have a landing page of some sort; that was the best I
> could find on short notice. Or maybe you don't like the fact that the fact
> that the method body is empty/commented? - Dmitriy … <#14a742bfb613d0ff_>
> On Mon, Dec 22, 2014 at 5:34 PM, Steven G. Harms <notifications@github.com>
> wrote: In app/controllers/pages_controller.rb <
> https://github.com/raccoons-2014/Smackwangler/pull/30#discussion-diff-22194804>
> : > @@ -0,0 +1,5 @@ > +class PagesController < ApplicationController > +
> def home > + #.. No — Reply to this email directly or view it on GitHub <
> https://github.com/raccoons-2014/Smackwangler/pull/30/files#r22194804>. —
> Reply to this email directly or view it on GitHub <
> https://github.com/raccoons-2014/Smackwangler/pull/30/files#r22195243>.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/raccoons-2014/Smackwangler/pull/30/files#r22197253>.
>