Added precompile option for Heroku and authentication.
Added views

seperated views from login and registration to app.