logging in now sort of works

results of first two hours working with omar!