Changed login a bit
Added login spec