added login info saving (sort of)