Made login functional although views don't display.