Fixed login prompt displaying when it shouldn't

Also made logout a button