Finished php tutorial 3, modifying code to implement login