added support to capture email. updated username to equal email