Refactoring. Fetching labels from model in login forms