add payments on assignments
changed how IP address is saved on login, and add tests