Fix logins ES and small caps

Small fixes to make it run properly.