Issue #68 Stub user in test cases

Simulate a logged in user for jasmine test cases.