rejestration and login on PDO