refactoring login spec
little simplifcation on author bar