code rewrite.
rewrite admin and user login.
fix conflict
fix session problem.
add persona to external file.
add a little bit of documentation.
add logout
merge code.fix conflict
Conflicts:
	functions/visit.php
fix wrong date for checked_in
Merge pull request #70 from ryanermita/fix/wrong-date-check-in

Fix/wrong date check in