100%done

Login part is finished. Now you can add your things into attemptLogin().
Next I will do the register part,when all finished, we will be move on
to other functions.