Added an admin controller as well as some more methods to handle user functions.