Manage of the direction to go after login

If user has multiple flat or not go to MainActivity or NewFlatActivity