Merge pull request #31 from chrisvans/Anthony

updated views and base.html
v3.0 - Created login handler that redirects to login page if the user is not logged in
v3.0 - Quick bugfix
v3.1 - CheckOut button successfully added, timestamp format is more prettyful.
v3.3 - last second bugfix
v3.5 checkin/out button logic added in
v3.5 added in comments to companyLocation method additions
fixed userdetails and barista checkin/out view bug
fixed checkin/out bug where I can check into multiple places, and it explodes
'cosmetic'
check in footer working properly