start jasmine tests and fix login redirect
work on jasmine tests