implemented Admin panel and userLogin