Fixed login storage issue

Login credentials now store locally to the phone