Added option create case in mainpage.html if user is authenticated.