implemented username and address inputs