Added custom login form and permissions to static resources