making public directory permission 777, improvement on admin panel, using mustache