Added implodes to login