some stuff done, ugly login etc.