wherein A, B, R1, R2, R3, R4, R5, R6, R7, R8, R9 and R10 are as defined above. The invention further relates to pharmaceutical compositions comprising the compounds and pharmaceutically acceptable salts and to methods of treating diabetes mellitus and its complications, cancer, ischemia, inflammation, central nervous system disorders, cardiovascular disease, Alzheimers disease and dermatological disase pression, virus diseases, inflammatory disorders, or diseases in which the liver is a target organ.