add login to web application

Before you merge, please test it out.  I have combined the already existing User with devise's User model.