Added admin and account pages with their corresponding functions - fix from dead git