add slim, convert login page to slim