Added missing session_start()
Login is working now.