Updated the Login and Config Class according to backend php