Separate admin page logic