Fixed user profile security issues, Refined user profile templates