Login now working

But still some internal reading troubles