PDO login script that tests for user account activations