removed commented out code
refactored user profile llogin
fixed core config