Parse login as string in API user model