login issue with backendless-ios ,objective c

I am new with iOS and back endless.i have a database with fields user type ,username ,password. I want to login with these fields.User type like student, teacher. while select student type, student user name, student password, it should navigate to student home page, like so…
what is the code for the same in iOS objective c?

The best way to get started with login (especially if you are new to iOS and backendless) is to check out the code generator which will give you a good starting point. Try the following:

    Login to Backendless Console and select your app Click the "Code Generation" icon in the lower left corner Click the "iOS" section inside of the code generation screen Click the "User login/registration/password recovery" checkbox in the "Registration and Login" section Scroll down and click the "Download Project" button. Backendless will generate a zip file with all the source code which will show you how to handle user login.
Hope this helps.

Regards,
Mark