This is a code for login with Ajax and Object Oriented PHP