login and register widget, login working.