added user creation, authentication

Thanks, Railscasts!
http://railscasts.com/episodes/250-authentication-from-scratch