Added source codes and fixed no. of issues

fixed following:-
1 Sample request updated for code mirror
2 Key population made login and transaction key required.