login from ajax, display changes, server cleanup