fix lingering display issue in checkin.php
move database credentials to new file