Fixed login errors, corrected login check
commented out session_start()