Update Login.php

creation of a database connection function