fixed ordering to always set perma as last ban
moved formation of duration to application helper
added bans to user show; split views in smaller parts