Main Function for rental terminal