Make sure skills are string in login.js