added lame login loop. just working through the tutorial