added ugly code for png parser
updated login lib