login and register working
refactored widgets, login working