Enter CODAP only if valid email and password

The CODAP login credentials are verified and server responds with valid:true only if the login credentials are valid.