Refactoring + adding login & password text fields + added storing of entered credentials in user defaults