added teh required configuration
added the function to check if admin is logined or not
added the admin panel design flow