fixed playback and minor optimizations
fixed login issue