added login widget and user processing