Refact on LoginTask and fix on profilepic