This function is accessible after login only.