Admin and main view working