login sample code added

springboard launch error comes up