refactoring macro to login an user - param user needed now
spec for testing SessionController added