made changes to the login and riv section