Fixed issue with login and stored array users. Login is now working.