Do not show login prompt to those logged in

Closes #340