Added database, PHP validation with custom functions to search database for exisiting username and password