Consistency and organization

newline at end of files
trim trailing space
alphabetize translations
Rate limit login attempts