added first draft for login with many bugs ... i think ...