Login destroy test and functionality