All Device Categories should be automatically loaded from database

And Categories details are then saved into session to avoid being loaded from database every time when user refreshes a page.