added login functionality

thanks to php-login project
also added keypress counter + status field to playback page