add slim, convert login page to slim

Actually we can take care of this in a different branch