Refactored data as test fixture
Added login view