Fixed error with register users, can now use regular login or twitter