Fixed error on dashboard index page and redirect from user sign