Two factore authentication using PHP