Log in form with saving to text file