same error bug removed; credentials checking logic redeined; using decode functon to retrive and store btyea datatype
Merge pull request #4 from Harkirat94/authentication

Few changes in Authentication branch followed by use of "decode" everywhere .