login and createuser working and need lot of improuvements