Persisting login. Bad, Bad, Bad Code.