Solved routing problem by adding .htaccess