Changed login functionality. Added FirePHP