modified connecting to db, changed to signin/out

now connects using funcitons, signin and sign out
Merge branch 'master' of https://github.com/karizza-crespo/VERSION_C4L_GROUP2

Conflicts:
	addinfobyadmin.php
	addinfobyadminspecific.php
	addsearchresults.php
	admin_db.php
	dormer_db.php
	functions.php
	register.php
	sched.php
	signin.php
	staff_db.php

modified connect and added signin and signout