Added security for accessing admin panel