Added login required where it is required