create a spec test to actions only login