Made the login work, with slim

It was destroyed by Ashish Karn