Login and register ready / Can't set headers after they are sent. pending