wip added casperjs test for login