Adding form/login processing to try to fix login