login mostly works