Add admin panel login/logout function