Added basic administration screens
Fixed silly errors with date calculations